<template>
  <div>
    <!-- <div>
      <label for="orderNo">订单号：</label>
      <input id="orderNo" />
      <button>查询</button>
    </div> -->
    <div class="logistics-info">
      <h2>商品相关信息</h2>
      <div>
        <div>
          商品id: <strong>{{ goodInfo.goodNo }}</strong>
        </div>
        <div>
          商品名称: <strong>{{ goodInfo.goodName }}</strong>
        </div>
        <div>
          商品描述:
          <slot name="desc" :goodInfo="goodInfo.desc"> </slot>
        </div>
      </div>

      <!-- <ComLogistics></ComLogistics> -->
    </div>
  </div>
</template>

<script>
// import ComLogistics from "./ComLogistics";
export default {
  components: {
    // ComLogistics,
  },
  props: {
    goodInfo: {
      type: Object,
    },
  },
};
</script>
<style scoped>
img {
  width: 100px;
  height: 100px;
}
.logistics-info {
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0px 0px 10px #eee;
  padding: 10px;
  font-size: 14px;
}

.logistics-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.logistics-info-header-left {
  display: flex;
  align-items: center;
}

.logistics-status {
  font-weight: bold;
  font-size: 16px;
  color: #007bff;
}

.logistics-company,
.logistics-no {
  margin-left: 10px;
  font-size: 14px;
  color: #333;
}

.logistics-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 230px;
  overflow-y: auto;
}

.logistics-info-list li {
  display: flex;
  margin-bottom: 10px;
}

.logistics-info-list-time {
  font-size: 12px;
  color: #999;
  width: 80px;
  text-align: right;
  margin-right: 10px;
}

.logistics-info-list-content {
  font-size: 14px;
  color: #333;
}
</style>